package com.ymt.bpm.service.engine.bpd;

import com.alibaba.fastjson.JSONObject;
import com.ymt.bpm.model.PBpd;

/**
 * Created by Johnny on 2017/4/16.
 */
public interface BpdVersionCacheService {

    PBpd getBasicBean(String tenantId, String bpdId);

    JSONObject getBpdSimple(String tenantId, String bpdId, String lang, int timezoneOffset);

    //JSONObject getBpd(String tenantId, String bpdId, String lang, int timezoneOffset);

    JSONObject getVersionJson(String tenantId, String bpdId, int versionid);

    //JSONObject getCurrentVersionJson(String tenantId, String bpdId);

    String selectBpdDefIdByKeyVer(String tenantId, String bpdId, int versionid);

    JSONObject selectBpdDefById(String tenantId, String id);

}
